package com.example.neteasemusic

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.activity.viewModels
import androidx.drawerlayout.widget.DrawerLayout
import com.example.neteasemusic.databinding.ActivityMainBinding
import com.example.neteasemusic.recyclerView.PublicViewModel

class MainActivity : AppCompatActivity() {
    private lateinit var binding:ActivityMainBinding
    lateinit var layout:DrawerLayout
    private val viewModel:PublicViewModel by viewModels()



    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        window.statusBarColor = resources.getColor(R.color.bg_color,null)
        binding = ActivityMainBinding.inflate(layoutInflater)
        setContentView(binding.root)

        layout = binding.drawerLayout


    }
}

